<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../../../libs/mint-ui/2.2.13/style.css">
    <script src="../../../libs/vue/2.5.13/vue.js"></script>
    <script src="../../../libs/mint-ui/2.2.13/index.js"></script>
    <title>Mint-UI 01</title>
    <script>
        var app;
        window.onload = function () {
            app = new Vue({
                el: '#app',
                methods: {
                    handleClick: function () {
                        this.$toast('你好, Mint-UI!');
                    }
                }
            })
        }
    </script>
</head>

<body>
    <div id='app'>
        <mt-header fixed title="固定在顶部">
        </mt-header>
        <mt-button @click.native="handleClick">按钮</mt-button>
    </div>
</body>

</html>